package yl.hs.bmipfull.pojo.system;

import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/*
 * SearchFilterEntity
 * @category
 * @author 谢景广
 * @date 2021-10-22
 */
@DBTable(disName = "搜索条件",mapCode = "search_filter")
public class SearchFilterEntity extends BaseEntity {
    private Long id;
    @DBField(isSerialNumber = true,snPrefix = "SEARCH",mapCode = "sn")
    private String sn;
    private String viewSN;

    public SearchFilterEntity() {
    }

    public SearchFilterEntity(String sn, String viewSN, String pojoName, String field, String filterType, String searchValue) {
        this.sn = sn;
        this.viewSN = viewSN;
        this.pojoName = pojoName;
        this.field = field;
        this.filterType = filterType;
        this.searchValue = searchValue;
    }

    private String pojoName;
    private String field;
    private String filterType;
    private String searchValue;
    private String menuCode;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getViewSN() {
        return viewSN;
    }

    public void setViewSN(String viewSN) {
        this.viewSN = viewSN;
    }

    public String getPojoName() {
        return pojoName;
    }

    public void setPojoName(String pojoName) {
        this.pojoName = pojoName;
    }


    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getFilterType() {
        return filterType;
    }

    public void setFilterType(String filterType) {
        this.filterType = filterType;
    }

    public String getSearchValue() {
        return searchValue;
    }

    public void setSearchValue(String searchValue) {
        this.searchValue = searchValue;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }
}
